package com.john.sqwen.ecbc.commons.annotations;

import java.lang.annotation.*;

/**
 * @author john_sqwen
 * @packageName com.john.sqwen.ecbc.commons.annotations
 * @date 2022/4/24
 * @projectName ecbc-base
 * @Description DataScope
 **/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface DataScope {
    /**
     * 部门表的别名
     */
    public String deptAlias() default "";

    /**
     * 用户表的别名
     */
    public String userAlias() default "";
}
